/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.crystalrange.enterprise.model;

import java.io.Serializable;
import java.util.Date;
import org.crystalrange.model.User;

/**
 *
 * @author tbekasiewicz
 */
public class Debtor implements Serializable {

    private static final long serialVersionUID = 1L;
    
    private Long id;
    private String name;
    private String description;
    private String remarks;
    private Address address;
    private DebtorType debtorType;
    private User createdBy;
    private Date createdDate;
    private User updatedBy;
    private Date updatedDate;
    
    public Debtor() {
        this.id = 0L;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getRemarks() {
        return this.remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Address getAddress() {
        return this.address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public DebtorType getDebtorType() {
        return this.debtorType;
    }

    public void setDebtorType(DebtorType debtorType) {
        this.debtorType = debtorType;
    }
    
    public User getCreatedBy() {
        return this.createdBy;
    }

    public void setCreatedBy(User createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return this.createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public User getUpdatedBy() {
        return this.updatedBy;
    }

    public void setUpdatedBy(User updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedDate() {
        return this.updatedDate;
    }

    public void setUpdatedDate(Date updatedDate) {
        this.updatedDate = updatedDate;
    }    
}
